/*
 *
 *
 */

package DigimonAdventure.World;

import DigimonAdventure.Database.DigimonSpecies;
import DigimonAdventure.Things.DigimonBoss;
import DigimonAdventure.Things.DigimonLiarRunnable;

/**
 *
 * @author Kris Derril Siregar
 */
public class Stage2 extends AbstractWorld  {
	public Stage2(){

		field = new Field2();
        createThreadDigimon();
        boss = new DigimonBoss(DigimonSpecies.Charademon,350,5000,200,450);
        ownThings.add(boss);
	}

    @Override
    protected void createThreadDigimon() {
        for(int i = 0 ; i < jumlahDigimon ; i ++){
            DigimonLiarRunnable temp = new DigimonLiarRunnable(rnd, DigimonSpecies.Demidevimon, 150+rnd.nextInt(20), 250+rnd.nextInt(50), 100+rnd.nextInt(15), 70+rnd.nextInt(10));
            ownThings.add(temp);
            new Thread(threadDigimon,temp,"Stage 2-"+i).start();
        }

    }

}
